import { createPinia } from 'pinia'

//导入数据持久化插件
import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()

//注册持久化插件
pinia.use(persist)

export default pinia